Transport_ overview.md (572B)
1 +++ 2 title = "Transport: overview" 3 +++ 4 5 # Transport: overview 6 provides end-to-end packet delivery — reliable stream over unreliable network 7 uses datagrams or virtual circuits 8 9 **Transport service primitives** 10 Berkeley sockets (used in TCP): 11 12 - SOCKET — create new comms endpoint 13 14 - BIND — associate local address with socket 15 16 - LISTEN — announce accepting connections 17 18 - ACCEPT — passively establish incoming conn 19 - CONNECT — actively attempt a conn 20 - SEND — send data over connection 21 - RECEIVE — receive data from connection 22 - CLOSE — release connection